home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct02030.geo / 00026.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  3.3 KB  |  138 lines

  1. on startMovie
  2.   initLesson()
  3.   CheckForTagWd()
  4.   Set_NEXT(1)
  5.   Set_CDcounter(3)
  6. end
  7.  
  8. on stopMovie
  9.   sound stop 1
  10.   unLoad()
  11.   setEmptyCursor()
  12. end
  13.  
  14. on GoNext
  15.   if not get_Disabled() then
  16.     sound stop 2
  17.     set nextVal to Get_NEXT()
  18.     if nextVal = 1 then
  19.       go("t1")
  20.     else
  21.       if nextVal = 2 then
  22.         go("t2")
  23.       else
  24.         if nextVal = 3 then
  25.         else
  26.           if nextVal = 4 then
  27.             UpdateCursors(24, 0)
  28.             go("t4")
  29.           else
  30.             if nextVal = 5 then
  31.               go("t5")
  32.             else
  33.               if nextVal = 6 then
  34.                 UpdateCursors(20, 0)
  35.                 go("t6")
  36.               else
  37.                 if nextVal = 7 then
  38.                   go("t7")
  39.                 else
  40.                   if nextVal = 8 then
  41.                     UpdateCursors(16, 0)
  42.                     go("t8")
  43.                   else
  44.                     if nextVal = 9 then
  45.                       go("t9")
  46.                     else
  47.                       if nextVal = 10 then
  48.                         go("t10")
  49.                         UpdateCursors(15, 0)
  50.                       else
  51.                         if nextVal = 11 then
  52.                           UpdateCursors(24, 0)
  53.                           go("t11")
  54.                         else
  55.                           if nextVal = 12 then
  56.                             UpdateCursors(16, 0)
  57.                             go("t12")
  58.                           else
  59.                             if nextVal = 13 then
  60.                               go("t13")
  61.                             else
  62.                               if nextVal = 16 then
  63.                                 go("t14")
  64.                               else
  65.                                 UpdateCursors(20, 0)
  66.                                 GoNextMovie()
  67.                                 exit
  68.                               end if
  69.                             end if
  70.                           end if
  71.                         end if
  72.                       end if
  73.                     end if
  74.                   end if
  75.                 end if
  76.               end if
  77.             end if
  78.           end if
  79.         end if
  80.       end if
  81.     end if
  82.     Set_NEXT(Get_NEXT() + 1)
  83.   end if
  84. end
  85.  
  86. on TheinitCursor
  87.   initCursorCastNum()
  88.   initCursorList(1)
  89.   set CursorCastNum to getCursor(2)
  90.   cursor([CursorCastNum, CursorCastNum + 1])
  91. end
  92.  
  93. on GoNextMovie
  94.   PlaySound("GOSOUND.SO1")
  95.   SaveHilite()
  96.   Add_CDcounter(1)
  97.   set cdNum to Get_CDcounter()
  98.   set movieName to item cdNum of Get_CurrentSnakeScreens()
  99.   go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
  100. end
  101.  
  102. on checkScreenStatus
  103.   CheckRollOver()
  104.   CheckSnakeStatus()
  105.   go(the frame)
  106. end
  107.  
  108. on BlinkNext
  109.   if (the timer > getTimer()) and not soundBusy(2) then
  110.     startTimer()
  111.     if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
  112.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
  113.     else
  114.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
  115.     end if
  116.   end if
  117. end
  118.  
  119. on PressBtn theBtn
  120.   Set_PressedLast(theBtn)
  121.   switchButt(Get_AnsSprite() + theBtn - 1, "down" & theBtn, "HandleBtn" && theBtn)
  122. end
  123.  
  124. on set_MarkSprite theNum
  125.   global MarkSprite
  126.   set MarkSprite to theNum
  127. end
  128.  
  129. on Get_MarkSprite
  130.   global MarkSprite
  131.   return MarkSprite
  132. end
  133.  
  134. on handleREPLAY
  135.   Set_NEXT(16)
  136.   GoNext()
  137. end
  138.